<?php /* Smarty version 2.6.31, created on 2018-03-05 22:36:38
         compiled from E:/xampp/htdocs/lauwen_php/Index/Tpl/Index/index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'E:/xampp/htdocs/lauwen_php/Index/Tpl/Index/index.html', 12, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../Common/head_index.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<div class="container">
    <div class="col-sm-8 col-md-9 col-lg-9 word-change">
        <?php $_from = ($this->_tpl_vars['articleData']); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['v']):
?>
        <a href="<?php echo @__APP__; ?>
?c=Article&aid=<?php echo $this->_tpl_vars['v']['aid']; ?>
">
            <div class="row row-bottom">
                <div class="col-sm-4 col-md-3 col-lg-3 thumb-box">
                    <img src="<?php echo $this->_tpl_vars['v']['thumb']; ?>
" width="100%" height="100%"/>
                </div>
                <div class="col-sm-8 col-md-9 col-lg-9 introduction-box">
                    <h4><?php echo $this->_tpl_vars['v']['title']; ?>
</h4>
                    <p class="content-font"><?php echo ((is_array($_tmp=$this->_tpl_vars['v']['sendtime'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%y-%m-%d') : smarty_modifier_date_format($_tmp, '%y-%m-%d')); ?>
</p>
                    <p class="digest">
                        <?php echo $this->_tpl_vars['v']['content']; ?>

                    </p>
                    <p class="content-font"><a href="#"><?php echo $this->_tpl_vars['v']['click']; ?>
</a>&nbsp;&nbsp;浏览</p>
                </div>
            </div>
        </a>
        <?php endforeach; endif; unset($_from); ?>
        <div class="col-sm-12 col-md-12 col-lg-12 pagination">
            <a href="#" class="pagination-info">共条<b><?php echo $this->_tpl_vars['data']['sumRows']; ?>
</b>记录，本页显示<b><?php echo $this->_tpl_vars['data']['startRows']; ?>
-<?php echo $this->_tpl_vars['data']['endRows']; ?>
</b></a>&nbsp;
            <a href="#" class="pagination-info"><?php echo $this->_tpl_vars['data']['currentPage']; ?>
/<?php echo $this->_tpl_vars['data']['sumPage']; ?>
</a>&nbsp;
            <a href="<?php echo @__APP__; ?>
" class="pagination-link">首页</a>
            <a href="<?php echo @__APP__; ?>
?page=<?php echo $this->_tpl_vars['data']['prePage']; ?>
" class="pagination-link">上一页</a>
            <a href="<?php echo @__APP__; ?>
?page=<?php echo $this->_tpl_vars['data']['nextPage']; ?>
" class="pagination-link">下一页</a>
            <a href="<?php echo @__APP__; ?>
?page=<?php echo $this->_tpl_vars['data']['sumPage']; ?>
" class="pagination-link">尾页</a>&nbsp;&nbsp;
            <input type="text" class="jumpPage" id="jumpPage"/>
            <a href="#" class="pagination-link" id="pagination-jump">跳转</a>
        </div>
        <div class="col-sm-12 col-md-12 col-lg-12">
            <div class="panel panel-default">
                <div class="panel-body">
                    <p align="center">
                        Copyright © 2018.lauwen Personal All rights reserved.Powered by
                        <a href="https://gitee.com/lauwen" target="_blank" title="Xwen">Xwen</a>
                    </p>
                </div>
            </div>
        </div>
    </div>
    <div class="col-sm-4 col-md-3 col-lg-3 word-change">
        <span class="left-title">热门阅读</span>
        <ul class="hot-read">
            <?php $_from = ($this->_tpl_vars['hotData']); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['v']):
?>
            <li>
                <a href="<?php echo @__APP__; ?>
?c=Article&aid=<?php echo $this->_tpl_vars['v']['aid']; ?>
">
                    <h5><?php echo $this->_tpl_vars['v']['title']; ?>
</h5>
                    <p class="content-font"><a><?php echo $this->_tpl_vars['v']['click']; ?>
&nbsp;&nbsp;</a>浏览</p>
                </a>
            </li>
            <?php endforeach; endif; unset($_from); ?>
        </ul>
    </div>

</div>
<?php echo '
<script type="text/javascript">
    $(\'#pagination-jump\').click(function(){
        var page = $(\'#jumpPage\').val();
        location.href = \'./index.php?page=\'+page;
    })
</script>
'; ?>

</body>
</html>